
#include "atomic_op_namespace.h"

#include <sys/atomic.h>

uint32_t
atomic_inc_32_nv(volatile uint32_t *addr)
{

	return (atomic_add_32_nv(addr, 1));
}

#undef atomic_inc_32_nv
atomic_op_alias(atomic_inc_32_nv,_atomic_inc_32_nv)
#undef atomic_inc_uint_nv
atomic_op_alias(atomic_inc_uint_nv,_atomic_inc_32_nv)
__strong_alias(_atomic_inc_uint_nv,_atomic_inc_32_nv)
#if !defined(_LP64)
#undef atomic_inc_ulong_nv
atomic_op_alias(atomic_inc_ulong_nv,_atomic_inc_32_nv)
__strong_alias(_atomic_inc_ulong_nv,_atomic_inc_32_nv)
#undef atomic_inc_ptr_nv
atomic_op_alias(atomic_inc_ptr_nv,_atomic_inc_32_nv)
__strong_alias(_atomic_inc_ptr_nv,_atomic_inc_32_nv)
#endif /* _LP64 */
